package org.jeecg.modules.bobo.common.exception;

import lombok.Data;

/**
 * @program: jeecg-boot-parent
 * @description:
 * @author: 三千霜
 * @create: 2020-07-26 10:14
 */
@Data
public class BoboException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    private Integer code;
    public BoboException(String message){
        super(message);
    }

    public BoboException(Throwable cause)
    {
        super(cause);
    }

    public BoboException(String message,Throwable cause)
    {
        super(message,cause);
    }
    public BoboException(Integer code,String message)
    {
        super(message);
        this.code=code;
    }
}
